<%@page import="Model.My.DynamicList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
   DynamicList dy = new DynamicList(pageContext);
   dy.request();
   if(dy.get("id").length()!=0){
   dy.select().where("id=?",dy.get("id")).get_first_rows();
   }
%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>动态文章-编辑</title>
        <meta name="description" content="这里写网站内容描述" />
        <meta name="keywords" content="这里写关键词" />
        <meta name="Robots" contect="all">
        <link href="/css/reset.css" rel="stylesheet" type="text/css" />
        <link href="css/edit.css" rel="stylesheet" type="text/css"/>
    </head>
    <body>
        <div id="main">
            <span>关闭</span>
            <h2>增加企业动态</h2>
            <form action="" method="post">
                <p>标题：</p>
                <input type="text" name="title" value="<%dy.write("title");%>"/>
                <p>内容：</p>
                <script id="container" name="content" type="text/plain"><%dy.write("content");%></script>             <input type="hidden" name="id" value="<%dy.write("id");%>"/>
                <button>保存</button>
            </form>
        </div>
        <%@include  file="/inc/js_all.html" %>
        <script type="text/javascript" src="/ueditor/ueditor.config.js"></script>
        <script type="text/javascript" src="/ueditor/ueditor.all.js"></script>
        <script type="text/javascript" src="js/edit.js"></script>
    </body>
</html>
